package com.module.oa.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 mz_attendance_main
 * 
 * @author hezhengxian
 * @date 2023-07-23
 */
public class MzAttendanceMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private String staffId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String staffName;

    /** 业务编号 */
    @Excel(name = "业务编号")
    private String businessId;

    /** 业务类型编码 */
    @Excel(name = "业务类型编码")
    private String businessTypeId;

    /** 业务类型名称 */
    @Excel(name = "业务类型名称")
    private String businessTypeName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 天数 */
    @Excel(name = "天数")
    private Integer days;

    /** 当前审批人编号 */
    @Excel(name = "当前审批人编号")
    private String approvalId;

    /** 当前审批人姓名 */
    @Excel(name = "当前审批人姓名")
    private String approvalName;

    /** 当前流程编码 */
    @Excel(name = "当前流程编码")
    private String flowId;

    /** 事由 */
    @Excel(name = "事由")
    private String reason;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private String isFinish;

    /** 附件编号 */
    @Excel(name = "附件编号")
    private String annexId;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String annexName;

    /** 是否上传附件 */
    @Excel(name = "是否上传附件")
    private String isAnnex;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 备用字段一 */
    @Excel(name = "备用字段一")
    private String standbyOne;

    /** 备用字段二 */
    @Excel(name = "备用字段二")
    private String standbyTwo;

    /** 备用字段三 */
    @Excel(name = "备用字段三")
    private String standbyThree;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStaffId(String staffId) 
    {
        this.staffId = staffId;
    }

    public String getStaffId() 
    {
        return staffId;
    }
    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }
    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessTypeId(String businessTypeId) 
    {
        this.businessTypeId = businessTypeId;
    }

    public String getBusinessTypeId() 
    {
        return businessTypeId;
    }
    public void setBusinessTypeName(String businessTypeName) 
    {
        this.businessTypeName = businessTypeName;
    }

    public String getBusinessTypeName() 
    {
        return businessTypeName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDays(Integer days) 
    {
        this.days = days;
    }

    public Integer getDays() 
    {
        return days;
    }
    public void setApprovalId(String approvalId) 
    {
        this.approvalId = approvalId;
    }

    public String getApprovalId() 
    {
        return approvalId;
    }
    public void setApprovalName(String approvalName) 
    {
        this.approvalName = approvalName;
    }

    public String getApprovalName() 
    {
        return approvalName;
    }
    public void setFlowId(String flowId) 
    {
        this.flowId = flowId;
    }

    public String getFlowId() 
    {
        return flowId;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setIsFinish(String isFinish) 
    {
        this.isFinish = isFinish;
    }

    public String getIsFinish() 
    {
        return isFinish;
    }
    public void setAnnexId(String annexId) 
    {
        this.annexId = annexId;
    }

    public String getAnnexId() 
    {
        return annexId;
    }
    public void setAnnexName(String annexName) 
    {
        this.annexName = annexName;
    }

    public String getAnnexName() 
    {
        return annexName;
    }
    public void setIsAnnex(String isAnnex) 
    {
        this.isAnnex = isAnnex;
    }

    public String getIsAnnex() 
    {
        return isAnnex;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setStandbyOne(String standbyOne) 
    {
        this.standbyOne = standbyOne;
    }

    public String getStandbyOne() 
    {
        return standbyOne;
    }
    public void setStandbyTwo(String standbyTwo) 
    {
        this.standbyTwo = standbyTwo;
    }

    public String getStandbyTwo() 
    {
        return standbyTwo;
    }
    public void setStandbyThree(String standbyThree) 
    {
        this.standbyThree = standbyThree;
    }

    public String getStandbyThree() 
    {
        return standbyThree;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("staffId", getStaffId())
            .append("staffName", getStaffName())
            .append("businessId", getBusinessId())
            .append("businessTypeId", getBusinessTypeId())
            .append("businessTypeName", getBusinessTypeName())
            .append("applyTime", getApplyTime())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("days", getDays())
            .append("approvalId", getApprovalId())
            .append("approvalName", getApprovalName())
            .append("flowId", getFlowId())
            .append("reason", getReason())
            .append("isFinish", getIsFinish())
            .append("annexId", getAnnexId())
            .append("annexName", getAnnexName())
            .append("isAnnex", getIsAnnex())
            .append("remarks", getRemarks())
            .append("standbyOne", getStandbyOne())
            .append("standbyTwo", getStandbyTwo())
            .append("standbyThree", getStandbyThree())
            .toString();
    }
}
